package com.dit.action.customer;

import java.util.List;

import com.dit.entity.*;

import org.springframework.beans.factory.annotation.Autowired;

import com.dit.action.AbstractAction;
import com.dit.service.SmeService;

public class ViewSmeListAction extends AbstractAction{
	
	@Autowired
	private SmeService smeService;
	
	private List<Sme> list;
	
	
	public String execute() {
		
		
		
		list = smeService.getSmeList();
		
		return SUCCESS;
		
	}


	public List<Sme> getList() {
		return list;
	}


	public void setList(List<Sme> list) {
		this.list = list;
	}

}
